package com.ff.neuropp.repository;

import com.ff.neuropp.domain.CareerType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface CareerTypeRepository extends JpaRepository<CareerType, Integer>, JpaSpecificationExecutor<CareerType> {

    List<CareerType> findAllByStatus(Integer status);

    List<CareerType> findAllByStatusAndCareerTypeNameLike(Integer status,String name);

}
